package com.ctcemti.mdm.project.sys.dao;

import com.ctcemti.mdm.project.sys.entity.InfDictSort;
import com.ctcemti.mdm.project.sys.entity.InfDictSort;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.IdsMapper;

import java.util.List;

/**
 * @ClassName InfDictSortMapper
 * @Description 数据字典字典分类表dao接口层
 * @Author bxf
 * @Date 11:18 2019/7/12
 * @Version V1.0
 **/
@Mapper
public interface InfDictSortMapper extends tk.mybatis.mapper.common.Mapper<InfDictSort>,IdsMapper<InfDictSort> {

    /**
     * @Author bxf
     * @Description 根据主键更新实体
     * @Date 9:37 2019/7/19
     * @Param
     * @return
     **/
    public int updateByIdSelective(InfDictSort record);
    /**
     * @Author bxf
     * @Description 根据名称级联查询实体list
     * @Date 9:38 2019/7/19
     * @Param 
     * @return 
     **/
    public List<InfDictSort> selectInfdictsortByInfdictsortName(String name);
    /**
     * @Author bxf
     * @Description 根据pid级联删除子项
     * @Date 9:38 2019/7/19
     * @Param 
     * @return 
     **/
    public int deleteByPid(String ids[]);
}